projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224822c
)
wayland: Remove a useless else-if
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 16 Sep 2013 22:38:48 +0000
(18:38 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 28 Oct 2013 22:03:26 +0000
(18:03 -0400)
We already check for impl->surface as the first branch we do.
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index 26afb1f98d07b224379663fca7348d3181eec2b2..955167063815822ef07faeb377b9042dadd9e10a 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-1106,7
+1106,7
@@
gdk_wayland_window_hide_surface (GdkWindow *window,
wl_surface_attach (impl->surface, NULL, 0, 0);
wl_surface_commit (impl->surface);
}
- else
if (impl->surface)
+ else
{
if (impl->gtk_surface)
gtk_surface_destroy (impl->gtk_surface);